package com.bgs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bgs.pojo.Punch;
import com.bgs.pojo.PunchWay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;
@Mapper
public interface PunchMapper  {

    List<Punch> selectall();


    int insert(Punch punch);

    int getDays();

    int getLate();

    int getEarly();


    List<Punch> getSelectTime( String ptime);

    List<PunchWay> pwSelect();

    int pwdelect(Integer pwid);

    int pwupdate(PunchWay punchWay);

    int pwadd(PunchWay punchWay);
}
